<?php 
  // Start the SESSION vars
	if (session_id() == "")
	{
		session_start();
	}
	// Include configuration variables
  include_once('/var/www/gde-1.0/htdocs/config.php');
  // Include the login top.php
  include_once(Config::base_path.Config::top_login_php); 
  // Include the login nav.php
  include_once(Config::base_path.Config::nav_login_php); 
   // Include builder functions
  include_once(Config::base_path.Config::html_func_path."html.php"); 
  
echo "<br><br><br>";
echo "<table width=\"700\"><tr><td>";
echo "<center>";
echo "<div style=\"padding: 10px 5px 10px 5px; margin: 0px auto; width: 600px; border: 2px solid #ababab; background-color: #f1f1f1\">";
echo "<h3>Success</h3>";
echo "<table><tr><td align=\"left\">";
echo "An email has been sent to <b>". $_SESSION['email'] ."</b><br><br>";
echo "Your username and password has been emailed (note this feature not active yet).<br>";
echo "Please login with your new username and password, you will be redirected shortly.";
echo "If you have any problems, contact us at <b>gde.admin@gmail.com</b>.";
echo "</td></tr></table>";
echo "</div>";
echo "</center>";
echo "</td></tr></table>";
message2redirect("","login.php",5);
echo "</body>";
echo "</html>";
?>